﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PageButtonClickController : MonoBehaviour {

	// Use this for initialization
	void Start () {
		
	}

    void OnMouseDown() {
        if (!OnllyUIController._instance.b_isHeiPing && !OnllyUIController._instance.b_isDuihuakuang)
        {
            OnllyUIController._instance.ChangeZhishideng(false, 0.2f);
            EventManager<string>.TriggerEvent(MyEventType.OnllyPageButtonClickEvent, gameObject.name);
            OnllyPage1UIController.Instance.f_timeShow = 0;
        }
    }
}
